package starting

import (
	"database/sql"
	"game/game-db/mysql"
	"game/game-db/mysql/dao"
)

var DataDB *sql.DB
var LogDB *sql.DB

func InitDb() {
	dao.SERVER_IDENTITY = 1
	DataDB = mysql.QuickStart("127.0.0.1:3306", "root", "123456", "x1_4_game")
	LogDB = mysql.QuickStart("127.0.0.1:3306", "root", "123456", "x1_4_log")
}
